<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Context Space - 智能上下文管理工具</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #667eea, transparent);
            margin: 3rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <div class="mb-8 float-animation">
                <i class="fas fa-layer-group text-6xl opacity-90"></i>
            </div>
            <h1 class="text-5xl md:text-6xl font-bold mb-6">Context Space</h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">智能上下文管理工具</p>
            <p class="text-lg max-w-3xl mx-auto leading-relaxed opacity-80">
                让项目上下文管理变得简单高效，通过智能化的方式收集、整理和检索项目信息，提升团队协作质量
            </p>
            <div class="mt-10 space-x-4">
                <a href="https://github.com/context-space" target="_blank" class="inline-flex items-center bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition">
                    <i class="fab fa-github mr-2"></i>
                    访问 GitHub
                </a>
                <a href="https://context.space/integrations" target="_blank" class="inline-flex items-center border-2 border-white text-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition">
                    <i class="fas fa-rocket mr-2"></i>
                    在线体验
                </a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-7xl mx-auto px-6 py-16">
        <!-- Introduction -->
        <section class="bg-white rounded-2xl shadow-xl p-10 mb-12 card-hover">
            <p class="text-lg leading-relaxed text-gray-700">
                <span class="drop-cap">C</span>ontext Space 是一个开源的上下文管理工具，旨在帮助开发者和团队更好地组织和利用项目中的上下文信息。该工具通过智能化的方式收集、整理和检索项目相关的上下文数据，提高开发效率和协作质量。目标用户群体主要包括软件开发团队、项目经理以及需要处理复杂项目上下文的专业人士。
            </p>
        </section>

        <!-- Core Features -->
        <section class="mb-16">
            <h2 class="text-4xl font-bold mb-10 text-center">
                <span class="text-gradient">核心功能概述</span>
            </h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">智能上下文收集</h3>
                    <p class="text-gray-600">自动扫描项目文件、代码注释、文档等，提取关键上下文信息</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-project-diagram"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">上下文可视化</h3>
                    <p class="text-gray-600">以图形化界面展示项目结构和关联关系，便于理解项目架构</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-users"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">实时协作功能</h3>
                    <p class="text-gray-600">支持团队成员共享和同步上下文信息，提升协作效率</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-search"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">智能搜索与过滤</h3>
                    <p class="text-gray-600">基于语义的搜索功能，快速定位相关上下文信息</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-code-branch"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">版本控制集成</h3>
                    <p class="text-gray-600">与Git等版本控制系统无缝集成，跟踪上下文变化</p>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Use Cases -->
        <section class="mb-16">
            <h2 class="text-4xl font-bold mb-10 text-center">
                <span class="text-gradient">使用场景</span>
            </h2>
            <div class="space-y-6">
                <div class="bg-gradient-to-r from-purple-50 to-indigo-50 rounded-xl p-8 border-l-4 border-purple-600">
                    <h3 class="text-2xl font-bold mb-3 text-purple-800">
                        <i class="fas fa-tools mr-3"></i>大型项目重构
                    </h3>
                    <p class="text-gray-700 text-lg">当需要重构复杂项目时，Context Space能快速梳理项目结构和依赖关系，帮助开发者理解代码架构</p>
                </div>
                <div class="bg-gradient-to-r from-blue-50 to-cyan-50 rounded-xl p-8 border-l-4 border-blue-600">
                    <h3 class="text-2xl font-bold mb-3 text-blue-800">
                        <i class="fas fa-user-plus mr-3"></i>新团队成员入职
                    </h3>
                    <p class="text-gray-700 text-lg">新同事可以通过该工具快速了解项目背景、技术栈和关键决策，缩短适应期</p>
                </div>
                <div class="bg-gradient-to-r from-green-50 to-emerald-50 rounded-xl p-8 border-l-4 border-green-600">
                    <h3 class="text-2xl font-bold mb-3 text-green-800">
                        <i class="fas fa-handshake mr-3"></i>跨团队协作
                    </h3>
                    <p class="text-gray-700 text-lg">在多个团队协作的大型项目中，该工具能确保所有参与者对项目上下文有一致的理解</p>
                </div>
            </div>
        </section>

        <!-- Workflow Visualization -->
        <section class="mb-16 bg-white rounded-2xl shadow-xl p-10">
            <h2 class="text-3xl font-bold mb-8 text-center">工作流程图</h2>
            <div class="mermaid">
                graph LR
                    A[项目代码库] --> B[Context Space]
                    C[文档资料] --> B
                    D[团队知识] --> B
                    B --> E[智能分析]
                    E --> F[上下文可视化]
                    E --> G[知识图谱]
                    E --> H[协作共享]
                    F --> I[提升理解]
                    G --> I
                    H --> I
                    I --> J[高效开发]
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Advantages -->
        <section class="mb-16">
            <h2 class="text-4xl font-bold mb-10 text-center">
                <span class="text-gradient">优势与特色</span>
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-10">
                <p class="text-lg leading-relaxed text-gray-700 mb-6">
                    相比传统的文档管理工具，Context Space的最大特色在于其<span class="font-bold text-purple-700">智能化程度高</span>和<span class="font-bold text-purple-700">实时性</span>。它不仅能被动存储信息，还能主动分析和关联上下文数据。同时，其开源特性确保了透明度和可定制性，用户可以根据具体需求进行功能扩展。
                </p>
                <div class="grid md:grid-cols-3 gap-6 mt-8">
                    <div class="text-center">
                        <div class="text-5xl text-purple-600 mb-3">
                            <i class="fas fa-robot"></i>
                        </div>
                        <h4 class="font-bold text-lg">智能化分析</h4>
                    </div>
                    <div class="text-center">
                        <div class="text-5xl text-purple-600 mb-3">
                            <i class="fas fa-sync-alt"></i>
                        </div>
                        <h4 class="font-bold text-lg">实时同步</h4>
                    </div>
                    <div class="text-center">
                        <div class="text-5xl text-purple-600 mb-3">
                            <i class="fas fa-code"></i>
                        </div>
                        <h4 class="font-bold text-lg">开源可定制</h4>
                    </div>
                </div>
            </div>
        </section>

        <!-- Cost & Getting Started -->
        <section class="grid md:grid-cols-2 gap-8 mb-16">
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <h2 class="text-3xl font-bold mb-6 text-purple-700">
                    <i class="fas fa-dollar-sign mr-3"></i>使用门槛与成本
                </h2>
                <p class="text-lg leading-relaxed text-gray-700">
                    Context Space作为开源项目<span class="font-bold text-green-600">完全免费使用</span>，无需注册付费。用户可以直接从GitHub克隆代码进行本地部署，也可以参与社区贡献。对于企业用户，可能需要一定的技术能力来部署和维护。
                </p>
            </div>
            
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <h2 class="text-3xl font-bold mb-6 text-purple-700">
                    <i class="fas fa-rocket mr-3"></i>上手指南
                </h2>
                <ol class="space-y-3 text-gray-700">
                    <li class="flex items-start">
                        <span class="bg-purple-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 flex-shrink-0">1</span>
                        <span>从GitHub克隆项目到本地环境</span>
                    </li>
                    <li class="flex items-start">
                        <span class="